﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace KuMaoPlayer
{
    public partial class Form_Mylist : Form
    {
        
        public Form_Mylist()
        {
            InitializeComponent();
        }
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.Hide();
        }
        public Form_Mylist AddSongList(string str)
        {
            listBox_favoriteList.Items.Add(str);
            return this;
        }
        /// <summary>
        /// 右键从我的喜欢移除
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 从我的喜欢移除ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            listBox_favoriteList.Items.RemoveAt(listBox_favoriteList.SelectedIndex);
        }
    }
}
